package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafName extends RdfProperty {
    // name of the person this foaf document refers to
    private String name;
    // the name for this property
    private final String propName = "foaf:name";

    /**
     * Constructor, relies on RdfProperty super constructor.
     * @param name  <code>String</code> of the property's name.
     */
    public FoafName(String name) {
        super("foaf:name");
        this.name = name;
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return getOpenProp() + name + getCloseProp();
    }
}
